package project.controllers;

import project.menu.IMenuItem;

import java.util.ArrayList;

public class Printer {
	
	
	public static void printMenu(ArrayList<IMenuItem> a){
		Integer j=1;
		for(IMenuItem i:a){
			if(i.getId()==0){
				System.out.println("0. "+i.getNameItem());
			}else{
			System.out.println(j+". "+i.getNameItem());
			j++;
			}
		}
	}
	
	public static void printMessage(String s){
		System.out.println(s);
	}

}
